package com.atguigu.dynamic.annotation;

import java.lang.annotation.*;

/**
 * 自定义注解，用于指定切换数据源的key
 *
 * @author szj
 * @since 2021-03-21 16:13
 */
@Target(value = {ElementType.TYPE, ElementType.METHOD})
@Retention(value = RetentionPolicy.RUNTIME)
@Documented
public @interface DS {
    Type value() default Type.USER;
}
